package com.lgq.cfw.dao;

import com.lgq.cfw.bean.TableAdvertisement;
import com.lgq.cfw.bean.example.TableAdvertisementExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface TableAdvertisementMapper {
    long countByExample(TableAdvertisementExample example);

    int deleteByExample(TableAdvertisementExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(TableAdvertisement record);

    int insertSelective(TableAdvertisement record);

    List<TableAdvertisement> selectByExample(TableAdvertisementExample example);

    TableAdvertisement selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") TableAdvertisement record, @Param("example") TableAdvertisementExample example);

    int updateByExample(@Param("record") TableAdvertisement record, @Param("example") TableAdvertisementExample example);

    int updateByPrimaryKeySelective(TableAdvertisement record);

    int updateByPrimaryKey(TableAdvertisement record);
}